import { http } from "../utils/http";

// 获取新闻列表
export const getNewsListData = (config:object) => {
  return http.request("post", "/getNewsList",null,config);
};
// 获取新闻详情
export const getNewsDetailData = (data:object,config:object) => {
  return http.request("post", "/getNewsDetail",data,config);
};